package com.example.secondhandspringboot.service;

import com.example.secondhandspringboot.domain.entity.ChatMessages;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.secondhandspringboot.domain.vo.ContactVO;
import com.example.secondhandspringboot.domain.vo.MessagesVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 周在林
 * @since 2024-05-15
 */
public interface IChatMessagesService extends IService<ChatMessages>{

    void updateIdRead(Long currentUserId, Long contactUserId);

    List<MessagesVO> getMessages(Long contactUserId);

    int getTotalNoticeNum();
}
